package com.maxlen.ware.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 采购单
 *
 * @author MaxLen
 * @email MaxLen@gmail.com
 * @date 2022-10-27 11:02:35
 */
@Data
@TableName("wms_purchase")
public class PurchaseEntity {

    @TableId
    private Long id;
    private Long assigneeId;
    private String assigneeName;
    private String phone;
    private Integer priority;
    private Integer status;
    private Long wareId;
    private BigDecimal amount;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

}
